package main

import "fmt"

func testAppend(){
  var a []int = []int {1,3,4}
  var b []int = []int {4,5,6}

  a = append(a,23,34,45)
  fmt.Printf("a=%v\n",a)
  a = append(a,b...)
  fmt.Printf("a=%v\n",a)

/*
   a=[1 3 4 23 34 45]
   a=[1 3 4 23 34 45 4 5 6]
*/
}

func main() {
  testAppend()

}
